using UnityEngine;

public class LevelSlider : MonoBehaviour
{
	private bool updateLevelOnEnable = true;

	public UILabel levelNumber;

	public UISprite levelSlider;

	private void OnEnable()
	{
		if (updateLevelOnEnable)
		{
			UpdateLevel();
		}
	}

	public void UpdateLevel()
	{
		levelNumber.text = 1.ToString();
		levelSlider.fillAmount = 0f;
	}
}
